package com.mall.common.api;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Result {
    private Object data;
    private Integer code;
    private String msg;

    public Result(Integer code, Object data) {
        this.data = data;
        this.code = code;
    }

}